package com.itheima.health.service;

import com.itheima.health.common.PageParam;
import com.itheima.health.common.ResultPageData;
import com.itheima.health.entity.TCheckgroup;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.model.pojos.CheckGroup;
import com.itheima.health.pojo.dto.TCheckgroupDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cpanda
 * @since 2024-01-25
 */
public interface ITCheckgroupService extends IService<TCheckgroup> {

    ResultPageData cGPpage(PageParam pageParam);

    void add(TCheckgroup checkGroup, Integer[] checkitemIds);

    TCheckgroup checkgroupById(Long id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer checkgroupId);

    void updateCheckgroup(TCheckgroup dto, Integer[] checkitemIds);

    void checkgroupDelete(Integer id);
}
